#ifndef MUWINWINDOW_H
#define MUWINWINDOW_H

#include <QWidget>
#include <Windows.h>

namespace Ui {
class MuWinWindow;
}

class QHBoxLayout;
class QVBoxLayout;
class MuWinWindow : public QWidget
{
    Q_OBJECT

public:
    explicit MuWinWindow(QWidget *parent = 0);
    ~MuWinWindow();

    bool isMaximized() const
    { return isMaximized_; }


protected:
    virtual bool nativeEvent(const QByteArray &eventType,
                             void *message,
                             qintptr *result) override;

private:
    LRESULT calculateBorder(const QPoint &pt);

private:
    Ui::MuWinWindow *ui;
    bool isMaximized_;
};

#endif // MUWINWINDOW_H

